package com.hxkj.mapper;

import com.hxkj.domain.po.SysUser;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserMapper {
    int deleteByPrimaryKey(String userId);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(String userId);

    int updateSelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser findExists(SysUser condition);

    int updatePassword(SysUser sysUser);

    int updatePhone(SysUser sysUser);

    List<SysUser> selectUserList(SysUser sysUser);

    SysUser getUser(SysUser sysUser);

    int modifyUser(SysUser sysUser);

    List<SysUser> selectAllUserId();

    SysUser selectUserByAccount(SysUser sysUser);

    int modifyUserStatus(SysUser sysUser);

    int updateUserAccount(SysUser sysUser);
}